Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: search stake cell with minimum capacity #379

Merged
merged 1 commit into from
Oct 21, 2021

Conversation

jjyr
Copy link
Collaborator

@jjyr jjyr commented Oct 20, 2021

If there are multiple stake cells we would blindly choose the frist returned cell. But the cell's capacity may not enough for the rollup staking, this causes the block producer failed to submit a block.

@jjyr jjyr requested a review from a team October 20, 2021 16:01
@jjyr jjyr merged commit a4580be into godwokenrises:master Oct 21, 2021
@jjyr jjyr deleted the search-stake-minimum-capacity branch October 21, 2021 11:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants